package com.xx.ch06.text.text03.service;

import com.xx.ch06.text.text01.MonkeyText;
import com.xx.ch06.text.text03.dao.MonkeyDao;
import com.xx.ch06.text.text03.dao.MonkeyImpl;

/**
 * @author 许欣
 * 时间：2022/4/18 16:07
 * 描述：
 */
public class MonkeyServiceImpl implements MonkeyService{
    MonkeyDao monkeyDao= (MonkeyDao) new MonkeyImpl();
    @Override
    public void save(MonkeyText monkey) {
        monkeyDao.save(monkey);
    }

    public void setDao(MonkeyImpl dao) {
    }
}
